﻿@model JQGridMVC.Repository.FakeProfile
@{
    ViewBag.Title = "Profiles";
}
<h2>@ViewBag.Message</h2>
<table>
    @using (@Html.BeginForm())
    {
            
        <tr>
            <td>@Html.LabelFor(m => m.FirstName, "First Name")
            </td>
            <td>@Html.TextBoxFor(m => m.FirstName)
            </td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.LastName, "Last Name")
            </td>
            <td>@Html.TextBoxFor(m => m.LastName)
            </td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.Email, "Email")
            </td>
            <td>@Html.TextBoxFor(m => m.Email)
            </td>
        </tr>
        <tr>
            <td>@Html.LabelFor(m => m.PhoneNumber, "Phone Number")
            </td>
            <td>@Html.TextBoxFor(m => m.PhoneNumber)
            </td>
        </tr>
        <tr>
            <td>
                <input type="submit" name="submit-button" value="Submit" />
            </td>
            <td>
                <input type="submit" name="submit-button" value="Cancel" />
            </td>
        </tr>
    }
</table>
